package com.vhr.service;

import com.vhr.VO.DepartmentCountVO;
import com.vhr.VO.DeptEmpVO;
import com.vhr.entities.Department;
import com.vhr.entities.Employee;

import java.util.List;

public interface IDepartmentService {
    //统计各部门人数
    List<DepartmentCountVO> countByDeptId();
    //获取部门名称
    List<Department> getDeptName();
    //获取部门对应员工
    List<DeptEmpVO> getEmpByDept();
    //获取部门员工数

    //获取部门信息
    Department selectDepartmentByDeptId(Integer deptId);

    //根据名字查找部门id
    Integer selectByDeptName(String deptName);
}
